home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
abuse
/
inc
/
human.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-24
|
547b
|
24 lines
#ifndef __HUMAN_HPP_
#define __HUMAN_HPP_
#include "objects.hpp"
#include "ability.hpp"
class human : public game_object
{
public :
human(long X, long Y) { defaults(); x=X; y=Y; }
human(FILE *fp, unsigned char *state_remap) { load(fp,state_remap); }
virtual int size() { return game_object::size(); }
virtual game_objects type() { return O_human; }
virtual void do_damage(int amount, game_object *from);
virtual int move(int cx, int cy, int button); // return false if the route is blocked
} ;
#endif